package com.helei.mq.controller;

import com.helei.mq.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Tool：IntelliJ IDEA
 * @ Author：hl
 * @ Date：2024-05-06-下午5:35
 */
@RestController
@RequestMapping("test")
public class TestController {
    @Autowired
    TestService testService;
    @PostMapping("/a")
    public void send() {
        testService.send();
    }

}
